<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="AddCustomer.aspx.cs" Inherits="AddCustomer" Title="Add Customer" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <title>Work Organizer - Add New Customer</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<table border="0" cellpadding="2" cellspacing="5" width="900">
    <tr>
        <td align="center" colspan="2"><asp:Label runat="server" Font-Size="22pt" Font-Bold="true" 
                ForeColor="Maroon">Add/Update Customer</asp:Label>
            &nbsp;</td>
    </tr>
    <tr>
        <td align="right" class="tbhead" style="width: 186px; height: 26px;">
            Customer Name :</td>
        <td align="left" class="tbhead" width="194">
            <asp:TextBox ID="tbCustomerName" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator id="RequiredFieldValidator4"
                    ControlToValidate="tbCustomerName"
                    Display="Static"
                    ErrorMessage="*"
                    runat="server"/>
            </td>
    </tr>
    <tr>
        <td align="right" class="tbhead" style="width: 186px; height: 26px;">
            Address :</td>
        <td align="left" class="tbhead" width="194">
            <asp:TextBox ID="tbAddress" runat="server" TextMode="MultiLine" Width="196" Height="75"></asp:TextBox>
            <asp:RequiredFieldValidator id="RequiredFieldValidator5"
                    ControlToValidate="tbAddress"
                    Display="Static"
                    ErrorMessage="*"
                    runat="server"/></td>
    </tr>
    <tr>
        <td align="right" class="tbhead" style="width: 186px; height: 26px;">
            Email :</td>
        <td align="left" class="tbhead" width="194">
            <asp:TextBox ID="tbEmail" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator id="RequiredFieldValidator1"
                    ControlToValidate="tbEmail"
                    Display="Static"
                    ErrorMessage="*"
                    runat="server"/>
            </td>
    </tr>
    <tr>
        <td align="right" class="tbhead" style="width: 186px; height: 26px;">
            Contact Person :</td>
        <td align="left" class="tbhead" width="194">
            <asp:TextBox ID="tbContactPerson" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator id="RequiredFieldValidator2"
                    ControlToValidate="tbContactPerson"
                    Display="Static"
                    ErrorMessage="*"
                    runat="server"/>
            </td>
    </tr>
    <tr>
        <td align="right" class="tbhead" style="width: 186px; height: 26px;">
            Contact Number :</td>
        <td align="left" class="tbhead" width="194">
            <asp:TextBox ID="tbContactNumber" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator id="RequiredFieldValidator3"
                    ControlToValidate="tbContactNumber"
                    Display="Static"
                    ErrorMessage="*"
                    runat="server"/>
            </td>
    </tr>
    <tr>
    <td align="right" class="tbhead" style="width: 186px; height: 26px;">
            </td>
        <td align="left">
            <asp:Button ID="btnCreateCustomer" runat="server" Text="Create Customer" onclick="btnCreateCustomer_Click" 
                />
        </td>
    </tr>
</table>
</asp:Content>

